<div class="modal fade" id="dlgNewFile">
  <div class="modal-dialog" role="document">
    <div class="modal-content">
      <div class="modal-header">
        <h5 class="modal-title">新建文件</h5>
        <button type="button" class="close" data-dismiss="modal" aria-label="Close">
          <span aria-hidden="true">&times;</span>
        </button>
      </div>
      <div class="modal-body">
<div class="input-group">
  <span class="input-group-addon">文件名</span>
  <input type="text" class="form-control">
  <span class="input-group-addon">.md</span>  
</div>
      </div>
      <div class="modal-footer">
        <button type="button" class="btn btn-primary btn-ok">确定</button>
        <button type="button" class="btn btn-secondary" data-dismiss="modal">取消</button>
      </div>
    </div>
  </div>
</div>